package com.example.xpvideo.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 管理员列表
 *
 * @author : 洪俊新
 * @date : 2021/7/27 0:58
 * @description:
 */
public class AdminListRes {
    /**
     *主键
     * id
     * isnull 1
     */
    private Integer id;
    /**
     * 账号即手机号
     * isnull 0
     */            private String account;
    /**
     * 店铺头像
     * isnull 0
     */            private String img;
    /**
     * 店铺名称
     * isnull 0
     */            private String merchantsName;
    /**
     * 入驻时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime settledTime;

     private List<StoreRes> store;
    /**
     * 状态：0：冻结；1：正常
     * isnull 0
     */            private String stage;
    /**
     * 店铺所在省份
     * isnull 0
     */            private String merchantsProvince;
    /**
     * 店铺所在城市
     * isnull 0
     */            private String merchantsCity;
    /**
     * 店铺所在县区
     * isnull 0
     */            private String merchantsStreet;
    /**
     * 店铺详细地址
     * isnull 0
     */            private String merchantsDetail;

    public String getMerchantsProvince() {
        return merchantsProvince;
    }

    public void setMerchantsProvince(String merchantsProvince) {
        this.merchantsProvince = merchantsProvince;
    }

    public String getMerchantsCity() {
        return merchantsCity;
    }

    public void setMerchantsCity(String merchantsCity) {
        this.merchantsCity = merchantsCity;
    }

    public String getMerchantsStreet() {
        return merchantsStreet;
    }

    public void setMerchantsStreet(String merchantsStreet) {
        this.merchantsStreet = merchantsStreet;
    }

    public String getMerchantsDetail() {
        return merchantsDetail;
    }

    public void setMerchantsDetail(String merchantsDetail) {
        this.merchantsDetail = merchantsDetail;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getMerchantsName() {
        return merchantsName;
    }

    public void setMerchantsName(String merchantsName) {
        this.merchantsName = merchantsName;
    }

    public LocalDateTime getSettledTime() {
        return settledTime;
    }

    public void setSettledTime(LocalDateTime settledTime) {
        this.settledTime = settledTime;
    }

    public List<StoreRes> getStore() {
        return store;
    }

    public void setStore(List<StoreRes> store) {
        this.store = store;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }
}
